package com.jichangxiu.system.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * SysInfoVo:
 *
 * @author JiChangXiu
 * @create 2024-06-28 13:44:24
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Schema(description = "系统登录信息")
public class SysInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Schema(description = "ID")
    private String id;

    /**
     * 编码
     */
    @Schema(description = "编码")
    private String no;

    /**
     * 业务类型
     */
    @Schema(description = "业务类型")
    private String type;

    /**
     * IP地址
     */
    @Schema(description = "IP地址")
    private String address;

    /**
     * IP定位
     */
    @Schema(description = "IP定位")
    private String location;

    /**
     * 浏览器
     */
    @Schema(description = "浏览器")
    private String browser;

    /**
     * 操作系统
     */
    @Schema(description = "操作系统")
    private String system;

    /**
     * 请求参数
     */
    @Schema(description = "请求参数")
    private String param;

    /**
     * 结果信息
     */
    @Schema(description = "结果信息")
    private String result;

    /**
     * 异常信息
     */
    @Schema(description = "异常信息")
    private String exception;

    /**
     * 状态
     */
    @Schema(description = "状态")
    private Boolean status;

    /**
     * 短令牌
     */
    @Schema(description = "短令牌")
    private String jti;

    /**
     * 长令牌
     */
    @Schema(description = "长令牌")
    private String jwt;

    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private String userId;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String userName;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    /**
     * 创建者部门
     */
    @Schema(description = "创建者部门")
    private String deptBy;

    /**
     * 创建者
     */
    @Schema(description = "创建者")
    private String createBy;

    /**
     * 创建时间"
     */
    @Schema(description = "创建时间")
    private Date createTime;

    /**
     * 更新者
     */
    @Schema(description = "更新者")
    private String updateBy;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private Date updateTime;

}